package com.team6.cet.service;
import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.team6.cet.entity.OrdinaryUser;  

  
public interface OrdinaryUserService {  
    public List<OrdinaryUser> getUserInfo(int page,int limit);  
    public int findUserNum(); 
    public void insert(OrdinaryUser user); 
    public void del(int id);
    public int updataUserINfo(OrdinaryUser user);
    public OrdinaryUser getUserInfo(int id);
    public OrdinaryUser FindByEmailandPassword(String email,String password);
    public OrdinaryUser getOrdinarybyEmail(String email);
}  